/*
 * This file (AxConstants.java) is protected by the GNU GPL licence (v2). 
 * Please read the license.txt attached for further informations. 
 * 
 */

package artx.utils;

/**
 * Contains all constants shared through all ArtX classes.
 * 
 * @author Xavier Gouchet
 * 
 */
public interface AxConstants {
	// Version variables
	/** {@value} */
	static final int WEEK_CURRENT = 41;

	/** {@value} */
	static final int WEEK_START = 27;

	/** Major release count ({@value}) */
	static final int V_MAJOR = 0;

	/** Minor release count ({@value}) */
	static final int V_MINOR = 1;

	/** Revision count ({@value}) */
	static final int V_REVISION = WEEK_CURRENT - WEEK_START;

	/** Full version string ({@value}) */
	static final String V_STR = V_MAJOR + "." + V_MINOR + "." + V_REVISION;

	/** Title ({@value}) */
	static final String TITLE = "ArtX";

	/** Title with current version ({@value}) */
	static final String FULL_TITLE = TITLE + " v" + V_STR;

	// Log Settings
	/** Text inserted before errors in the logs ({@value}) */
	static final String PREFIX_ERROR = "X";

	/** Text inserted before warnings in the logs ({@value}) */
	static final String PREFIX_WARNING = "!";

	/** Text inserted before infos in the logs ({@value}) */
	static final String PREFIX_INFO = "?";

	/** Text inserted before debug texts in the logs ({@value}) */
	static final String PREFIX_DEBUG = "@";

	/** Verbosity level for errors ({@value}) */
	static final int LVL_ERROR = 1;

	/** Verbosity level for warnings ({@value}) */
	static final int LVL_WARNING = 2;

	/** Verbosity level for infos ({@value}) */
	static final int LVL_INFO = 3;

	/** Verbosity level for debug ({@value}) */
	static final int LVL_DEBUG = 4;
}
